import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import VCharts from 'v-charts-v2'
import VChart from 'v-charts'
import less from 'less'
import  service from '@/http'
// import router from './router'
import router from './router/index'
import JsCookie from 'js-cookie'

Vue.use(VChart)
Vue.use(less)
Vue.prototype.$axios=service
Vue.prototype.$JsCookie=JsCookie;
Vue.use(ElementUI);
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
